home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / example / panel.c < prev    next >
C/C++ Source or Header  |  1992-09-04  |  825b  |  34 lines

  1. /* Form definition file generated with fdesign. */
  2.  
  3. #include "forms.h"
  4. #include "panel.h"
  5.  
  6. FL_FORM *Example;
  7.  
  8. FL_OBJECT
  9.         *VelocitySlider;
  10.  
  11. void create_form_Example()
  12. {
  13.   FL_OBJECT *obj;
  14.   Example = fl_bgn_form(FL_NO_BOX,340.0,130.0);
  15.   obj = fl_add_box(FL_UP_BOX,0.0,0.0,340.0,130.0,"");
  16.   VelocitySlider = obj = fl_add_slider(FL_HOR_SLIDER,10.0,40.0,320.0,30.0,"Velocity");
  17.     fl_set_object_lsize(obj,FL_LARGE_FONT);
  18.     fl_set_call_back(obj,VelocityProc,0);
  19.   obj = fl_add_text(FL_NORMAL_TEXT,10.0,90.0,320.0,30.0,"EXAMPLE");
  20.     fl_set_object_lcol(obj,4);
  21.     fl_set_object_lsize(obj,FL_LARGE_FONT);
  22.     fl_set_object_align(obj,FL_ALIGN_CENTER);
  23.     fl_set_object_lstyle(obj,FL_ENGRAVED_STYLE);
  24.   fl_end_form();
  25. }
  26.  
  27. /*---------------------------------------*/
  28.  
  29. void create_the_forms()
  30. {
  31.   create_form_Example();
  32. }
  33.  
  34.